package com.dmgis.hndz.service;


import com.dmgis.hndz.pojo.SurfaceDto;
import org.apache.poi.xwpf.usermodel.XWPFTable;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.text.ParseException;
import java.util.List;

public interface DqyjService {

    List getArea() throws IOException;

    List<SurfaceDto> getArea1() throws IOException;

    String createTxt(String index) throws IOException;
    /**
     * 获取产品最新期数
     * @return
     */
    Integer getMaxId();

    /**
     * 生成产品
     * @param issueNum
     * @param userName
     * @param yjType
     * @param sXType
     * @param date
     * @param timeChar
     * @param nTimes
     * @param colorAndPos
     * @param posStr
     * @param images
     * @param layerName
     * @param dlData
     * @return
     * @throws IOException
     * @throws ParseException
     */
    Object createProduct(Integer issueNum, String userName, String yjType, String sXType, String date, String timeChar, Integer nTimes,
                         String colorAndPos, String posStr, MultipartFile[] images, String layerName, String dlData, Integer type1,String point) throws IOException, ParseException;

    Object createProduct1(Integer issueNum, String userName, String yjType, String sXType, String date, String timeChar, Integer nTimes, String colorAndPos, String posStr, MultipartFile[] images, String layerName, String dlData, Integer type,String point) throws IOException, ParseException;

    Object createProduct2(Integer issueNum, String userName, String yjType, String sXType, String date, String timeChar, Integer nTimes, String colorAndPos, String posStr, MultipartFile[] images, String layerName, String dlData, Integer type,String point) throws IOException, ParseException;
}
